package com.zzyl.service;

import com.zzyl.dto.ResourceDto;
import com.zzyl.vo.MenuVo;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {
    List<MenuVo> menus(Long userId);

    List<ResourceVo> getResourceList(ResourceDto resourceDto);

    TreeVo getTreeList(ResourceDto resourceDto);

    void addResource(ResourceDto resourceDto);

    void updateResource(ResourceDto resourceDto);

    void enableSet(ResourceDto resourceDto);

    void deleteByResourceNo(String resourceNo);
}
